#coding=utf-8

import logging
import sys, time


class Singleton(object):
    def __new__(self, *args, **kw):
        if not hasattr(self, '_instance'):
            orig = super(Singleton, self)
            self._instance = orig.__new__(self, *args, **kw)
        return self._instance

class Logger(Singleton):

    _error_list = []
    _warning_list = []
